import request from '@/utils/request'

function list(query) {
  return request({
    url: '/procedureSetp/list',
    method: 'get',
    params: query
  })
}

function save(data) {
  return request({
    url: '/procedureSetp/procedureSetp',
    method: 'post',
    data
  })
}
function update(data) {
  return request({
    url: '/procedureSetp/procedureSetp',
    method: 'put',
    data
  })
}
function updateList(data) {
  return request({
    url: '/procedureSetp/update',
    method: 'put',
    data
  })
}
function remove(ids) {
  return request({
    url: '/procedureSetp/procedureSetp',
    method: 'delete',
    data: ids
  })
}
export default {
  list,
  save,
  update,
  remove,
  updateList
}
